﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Alta_Domicilio.aspx.cs" Inherits="WebApplication4.WebForm1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <br />
        <asp:Label ID="Label2" runat="server" Text="Nuevo Domicilio para"></asp:Label>
        <br />
        <br />
        <br />
        Pais<br />
        <asp:DropDownList ID="DropDownList1" runat="server" 
            DataSourceID="SqlDataSource1" DataTextField="descripcion" 
            DataValueField="descripcion" Height="26px" Width="182px">
        </asp:DropDownList>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:BDSAFA_01ConnectionString %>" 
            SelectCommand="SELECT [descripcion] FROM [PAIS]"></asp:SqlDataSource>
        <br />
        <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
        <br />
        <br />
        Provincia<br />
        <asp:DropDownList ID="DropDownList2" runat="server" 
            DataSourceID="SqlDataSource2" DataTextField="descripcion" 
            DataValueField="descripcion" Height="26px" Width="186px">
        </asp:DropDownList>
        <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
            ConnectionString="<%$ ConnectionStrings:BDSAFA_01ConnectionString %>" 
            SelectCommand="SELECT [descripcion] FROM [PROVINCIA]"></asp:SqlDataSource>
        <br />
        <br />
        Localidad<br />
        <asp:DropDownList ID="DropDownList3" runat="server" 
            DataSourceID="SqlDataSource3" DataTextField="descripcion" 
            DataValueField="descripcion" Height="26px" Width="183px">
        </asp:DropDownList>
        <asp:SqlDataSource ID="SqlDataSource3" runat="server" 
            ConnectionString="<%$ ConnectionStrings:BDSAFA_01ConnectionString %>" 
            SelectCommand="SELECT [descripcion] FROM [LOCALIDAD]"></asp:SqlDataSource>
        <br />
        <br />
        Barrio<br />
        <asp:DropDownList ID="DropDownList4" runat="server" 
            DataSourceID="SqlDataSource4" DataTextField="nombreBarrio" 
            DataValueField="nombreBarrio" Height="26px" Width="172px">
        </asp:DropDownList>
        <asp:SqlDataSource ID="SqlDataSource4" runat="server" 
            ConnectionString="<%$ ConnectionStrings:BDSAFA_01ConnectionString %>" 
            SelectCommand="SELECT [nombreBarrio] FROM [BARRIO]"></asp:SqlDataSource>
        <br />
        <br />
        Calle&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        Numero&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        Piso&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        Departamento<br />
        <asp:TextBox ID="TextBox1" runat="server" Height="27px" Width="157px"></asp:TextBox>
&nbsp;
        <asp:TextBox ID="TextBox2" runat="server" Height="27px" Width="135px"></asp:TextBox>
&nbsp;<asp:TextBox ID="TextBox3" runat="server" Height="27px" 
            ontextchanged="TextBox3_TextChanged" Width="133px"></asp:TextBox>
        <asp:TextBox ID="TextBox4" runat="server" Height="26px" 
            style="margin-left: 10px" Width="133px"></asp:TextBox>
        <br />
        <br />
        <br />
        <asp:Button ID="Button1" runat="server" Height="34px" Text="Guardar y Regresar" 
            Width="177px" onclick="Button1_Click" />
    
    </div>
    </form>
</body>
</html>
